#include "CaptureTool.h"
void CaptTool::InitCaptureTool()
{
	/*codec = avcodec_find_decoder(AV_CODEC_ID_H264);
	codecCtx = avcodec_alloc_context3(codec);*/
	capt.Init("");
	AVCodecContext* ctx = capt.cVideo.codecContext;
	ve.Init(ctx->width, ctx->height, capt.GetVideoContext());
}

void CaptTool::StartCapture()
{

}

void CaptTool::Update()
{

}

void CaptTool::Flush()
{

}

void CaptTool::Close()
{

}

